//
//  Playlist.m
//  MusicPlayer-two
//
//  Created by lanou3g on 15/8/21.
//  Copyright (c) 2015年 大展宏图. All rights reserved.
//

#import "Playlist.h"

@implementation Playlist


-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self addAllViews];
    }
    return self;
    
}

- (void)addAllViews{

    self.playlistTableView = [[UITableView alloc]initWithFrame:[UIScreen mainScreen].bounds];
    UIImageView *imageView=[[UIImageView alloc]initWithImage:[UIImage imageNamed:@"girl7.jpg"]];
    imageView.alpha = 0.5 ;
//    imageView.image=[UIImage imageNamed:@"荷花开.png"];
    [self.playlistTableView setBackgroundView:imageView];
    
    
    self.backgroundColor = [UIColor whiteColor];
    
    [self addSubview:_playlistTableView];

}


@end
